package org.darcy.entity.work;

import java.io.Serializable;
import java.util.List;

import org.darcy.entity.org.Staff;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 工作流相关属性
 */
@Data
public class WorkFlowObject implements Serializable {

	private static final long serialVersionUID = 1L;

	@Schema(description = "主键")
	@TableId(type = IdType.AUTO)
	protected Integer id;

	@Schema(description = "审批人，前端传入")
	@TableField(exist = false)
	protected List<Staff> aaList;

	@Schema(description = "抄送人，前端传入")
	@TableField(exist = false)
	protected List<Staff> ccList;

	@Schema(description = "查询关键字 临时变量 用于查询")
	@TableField(exist = false)
	protected String keyword;

	@Schema(description = "是否显示表单提交")
	@TableField(exist = false)
	protected Boolean showCommit;

	@Schema(description = "是否显示提交表单审批")
	@TableField(exist = false)
	protected Boolean showApprove;

	@Schema(description = "工作流相关")
	@TableField(exist = false)
	protected WorkInstance work;
	
	@Schema(description = "是否提交表单")
	@TableField(exist = false)
	protected Boolean isCommit;

}
